Allows to customize the output target of test results. More...
Public Member Functions | |
| OutputTarget () | |
| ~OutputTarget () | |
| void | setTargetLogManager () |
| void | setTargetFile (const nkMemory::StringView &path) |
| void | write (const nkMemory::StringView &s) |
Allows to customize the output target of test results.
| nkDebug::OutputTarget::OutputTarget | ( | ) |
Default constructor. By default, an OutputTarget will write to the LogManager.
| nkDebug::OutputTarget::~OutputTarget | ( | ) |
Destructor.
| void nkDebug::OutputTarget::setTargetLogManager | ( | ) |
Sets the output target as the LogManager.
| void nkDebug::OutputTarget::setTargetFile | ( | const nkMemory::StringView & | path | ) |
Sets the output target as a file.
| path | The path to the target file. Will be interpreted relative to nkResource's working folder (see nkResources::ResourceManager::setWorkingPath). |
| void nkDebug::OutputTarget::write | ( | const nkMemory::StringView & | s | ) |
Requests to write to the target output.
| s | The string to write. |